package com.xiechuang.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description 控制层
 * @Author xiechuang
 * @Date 2021/12/21
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @RequestMapping(value = "/testUser", method = RequestMethod.GET)
    public String testUser() {
        return "test User";
    }

}
